// import React from 'react' 
import React, { lazy, Suspense, useState } from 'react'
import './app.css'
import { Provider } from "react-redux";
import store from "@store/index";
import AppRouter from "@router/index";
import { persistor } from "@store/index";
import { PersistGate } from "redux-persist/integration/react";
function App() {
    return (
      <Provider store={store}>
      <PersistGate persistor={persistor}>
        <AppRouter />
      </PersistGate>
    </Provider>
    )
}
export default App